// 题5
function Test5() {
    function Dog() {
        this.name = 'puppy'
    }
    Dog.prototype.bark = () => {
        console.log('woof!');
    }
    const dog = new Dog()
    console.log(Dog.prototype.constructor === Dog && dog.constructor === Dog && dog instanceof Dog)
}
Test5()
// 结果：
// true
/**
 * 解析：
 * 
 */